import request from "../utils/request";
// 查询歌词详细
export function getLyric(id) {
  return request({
    // baseURL: '/api',
    // url: `/lyric/${id}`,
    url: `/start/lyric/lyric/${id}`,
    method: "get",
  });
}
// 新增歌词
export function addLyric(data) {
  return request({
    url: "/start/lyric",
    method: "post",
    data,
  });
}

// 修改歌词
export function updateLyric(data) {
  return request({
    url: "/start/lyric",
    method: "put",
    data,
  });
}
// 查询歌词列表
export function listLyric({ zanmeiId }) {
  return request({
    url: "/start/lyric/list",
    method: "get",
    params: { zanmeiId },
  });
}
